<?php
/**
 * Created by PhpStorm.
 * User: Antique
 * Date: 2021/11/30
 * Time: 下午 08:15
 */

namespace work\core;


class class1_father
{
    protected function __construct()
    {
        echo '父类的构造函数运行成功';
        echo '<br />';
    }


    protected function class1_father_()
    {
        echo '父类里的方法执行成功！';
        echo '<br />';
    }

    protected function father_test1()
    {
        echo '父类里的father_test1方法没被重写';
        echo '<br />';
    }

    protected function __destruct()
    {
        echo '父类的析构函数运行成功';
        echo '<br />';
    }
}